package com.ruoyi.business.customer.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.business.customer.domain.JbCustomer;
import com.ruoyi.business.customer.domain.JbCustomerCropStructure;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class JbCustomerOverViewVo extends JbCustomer {
    /**
     * 业务经理名称
     */
    private String businessManagerName;
    /**
     * 跟进记录数量
     */
    private Long followUpRecordNumber;
    /**
     * 订单记录
     */
    private Long orderRecordNumber;
    /**
     * 归属记录
     */
    private Long belongToNumber;
    /**
     * 操作记录
     */
    private Long opeLogNumber;
    /**
     * 退款记录
     */
    private Long refundNumber;

    /**
     * 下次跟进时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nextFollowUpTime;

    /**
     * 作物列表
     */
    private List<JbCustomerCropStructure> cropStructures;
}
